<template>
  <div class>
    <teaching-header></teaching-header>
    <div class="mian-box">
      <div class="teaching-nav">
        <div class="nav-container">
          <div class="teaching-info-box">
            <div class="course-img-box f-l">
              <img src="~assets/images/teacher/java.jpg" width="139px" height="187px" />
            </div>
            <div class="course-info-box">
              <div class="course-info-title">
                <span>平台使用教程</span>
              </div>
              <div class="course-info-container">
                <ul class="teaching-nav">
                  <li class="nav-item">教学</li>
                  <li class="nav-item">签到</li>
                  <li class="nav-item">讨论(beta)</li>
                  <li class="nav-item">预习</li>
                  <li class="nav-item">作业</li>
                  <li class="nav-item">考试</li>
                  <li class="nav-item">课堂题库</li>
                </ul>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="teaching-container">
        <div class="header-box">
          <div class="header-title">
            <span>目录</span>
            <el-button type="primary f-r">添加章</el-button>
          </div>
        </div>
        <div class="container-box">
          <div class="chapter-item">
            <div class="chapter-item-title">第一章 常见问题指南</div>
            <ul class="chapter-item-ul">
              <li class="chapter-item-li">1、人与自然</li>
              <li class="chapter-item-li">2、人与自然</li>
              <li class="chapter-item-li">3、人与自然</li>
              <li class="chapter-item-li">4、人与自然</li>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <teaching-footer></teaching-footer>
  </div>
</template>

<script>
import TeachingHeader from "./childComps/THeader";
import TeachingFooter from "components/common/Footer.vue";

export default {
  data() {
    return {};
  },

  components: {
    TeachingHeader,
    TeachingFooter,
  },

  methods: {},
};
</script>

<style  scoped>
.mian-box {
  width: 100%;
  min-height: 800px;
}
.teaching-nav {
  background: #f5f7fa;
  padding-top: 58px;
}
.nav-container {
  width: 1200px;
  margin: auto;
  position: relative;
  background-image: url(~assets/images/teacher/teaching-bg.png);
  height: 156px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 154px;
}
.teaching-info-box {
  width: 100%;
  height: 100%;
  position: relative;
}
.course-img-box {
  content: "";
  width: 151px;
  height: 167px;
  background-image: url("~assets/images/teacher/teaching-book-bg.png");
  position: absolute;
  left: -49px;
  z-index: 1;
  bottom: 0;
}
.course-img-box img {
  position: absolute;
  bottom: 0;
  left: 49px;
}
.course-info-box{
  font-size: 14px;
    color: #fff;
    position: relative;
    margin-left: 164px;
    padding: 40px 30px 30px 0;
}
.course-info-title{
    font-size: 26px;
    font-weight: bolder;
    min-height: 30px;
    letter-spacing: 2px;
    position: relative;
}
.course-info-container{
   padding: 30px 0;
}
.course-info-container .teaching-nav{
  margin: 0;
  padding: 0;

}
.course-info-container .nav-item{ 
    float: left;
    font-size: 16px;
    margin-right: 45px;
    position: relative;
    text-align: center;
    line-height: 30px;
    letter-spacing: 1px;
    list-style: none;
}

.teaching-container .header-box {
  width: 100%;
  height: 58px;
  margin-bottom: 18px;
  padding: 28px 16px 12px;
  float: left;
}

.teaching-container .header-title {
  font-size: 20px;
  font-weight: 600;
  color: black;
}
.teaching-container .container-box {
  padding: 39px 20px 25px 20px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.teaching-container .container-box .chapter-item {
  background: #f5f7fa;
  margin-bottom: 15px;
}

.teaching-container .container-box .chapter-item .chapter-item-title {
  font-size: 18px;
  color: #303133;
  margin: 0 0 20px;
}
.teaching-container .container-box .chapter-item .chapter-item-ul {
  display: block;

  margin-left: 3vw;
}
.teaching-container .container-box .chapter-item .chapter-item-li {
  font-size: 15px;
  padding: 6px 13px 6px 15px;
  height: 40px;
  line-height: 30px;
  letter-spacing: 2px;
  position: relative;
  color: #909399;
  border-radius: 4px;
  /* display: inline-block; */
}
</style>